package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.DigitalSliceCaseDifferentialDiagnosis;
import com.zhijian.medical.entity.vo.request.DigitalSliceCaseDifferentialDiagnosisSearchVo;
import com.zhijian.medical.entity.vo.response.DigitalSliceCaseDifferentialDiagnosisVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DigitalSliceCaseDifferentialDiagnosisMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DigitalSliceCaseDifferentialDiagnosis record);

    int insertSelective(DigitalSliceCaseDifferentialDiagnosis record);

    DigitalSliceCaseDifferentialDiagnosis selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DigitalSliceCaseDifferentialDiagnosis record);

    int updateByPrimaryKey(DigitalSliceCaseDifferentialDiagnosis record);

    int count(DigitalSliceCaseDifferentialDiagnosisSearchVo digitalSliceCaseDifferentialDiagnosisSearchVo);

    List<DigitalSliceCaseDifferentialDiagnosisVo> selectList(DigitalSliceCaseDifferentialDiagnosisSearchVo digitalSliceCaseDifferentialDiagnosisSearchVo);

    DigitalSliceCaseDifferentialDiagnosisVo selectVoById(Long id);

    int insertBatch(@Param("entities") List<DigitalSliceCaseDifferentialDiagnosis> entities);
}